{include file="$usertemplate/header.tpl.html" title=header} 
            <div class="content">
            	<div class="leftCont">
                	<div class="boxpro">
                    	<div class="tt-boxpro">
                        	<ul>
                            	<li class="tt-left"><p> {if $staticItem}{$staticItem->getTitle()}{/if}</p></li>
                               
                            </ul>
                        </div><!--tt-boxpro-->
                        <div class="details">
         {literal} 
            <script language="javascript">
            function CheckFormMail()
            {
                    with (document.FormName)
                    {
                            if (first_name.value=="")
                            {
                                    alert("Mời bạn nhâp họ tên!");
                                    first_name.focus();
                                    return false;
                            }
                        if (email.value=="")
                            {
                                    alert("Mời bạn nhập địa chỉ Email!");
                                    email.focus();
                                    return false;
                            }
                            else
                            {
                                    if(email.value.indexOf("@")<0||email.value.indexOf(".")<0)
                                    {
                                            alert("Địa chỉ Email không hợp lệ!");
                                            email.focus();
                                            return false;
                                    }
                            }
					if (title.value=="")
                            {
                                    alert("Mời bạn nhập chủ đề");
                                    title.focus();
                                    return false;
                            }
					if (message.value=="")
                            {
                                    alert("Mời bạn nhập nội dung");
                                    message.focus();
                                    return false;
                            }
					if (code.value=="")
                            {
                                    alert("Mời bạn nhập mã xác nhận");
                                    code.focus();
                                    return false;
                            }
                    }
                    return true;
            }
            </script> 
            {/literal}
            
           <form action="" method="post" name="FormName" target="_parent" onSubmit="return CheckFormMail();">
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
                  <tr>
                    <td style="font-size:14px;" > {$messages.giaidapkythuat}
                      
                      {if $error}
                      <p style="color:#C00; text-align:center">{$error}</p>
                      {/if} </td>
                  </tr>
                  <tr>
                    <td><p>&nbsp;</p>
                      <p align="center">{$messages.contacts1}<br>
                      </p></td>
                  </tr>
                  <tr>
                    <td valign="top"><table class="text_3" align="center" border="0" cellpadding="0" cellspacing="2" width="100%">
                        <tbody>
                          <tr valign="top">
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td><font size="1"> {$messages.contacts2}</font><font color="#CC0000" size="1">(*)</font></td>
                          </tr>
                          <tr valign="top">
                            <td width="28%"><div align="right"> <font color="#CC0000">(*)</font> {$messages.fullname}</div></td>
                            <td width="2%">&nbsp;</td>
                            <td width="70%"><input name="first_name" class="box_input" size="35" value="{$full_name}"></td>
                          </tr>
                          <tr valign="top">
                            <td><div align="right">{$messages.address} </div></td>
                            <td>&nbsp;</td>
                            <td><input name="address" class="box_input" size="35" value="{$address}"></td>
                          </tr>
                          <tr valign="top">
                            <td><div align="right">{$messages.tel} </div></td>
                            <td>&nbsp;</td>
                            <td><input name="tel" class="box_input" size="35" value="{$tel}"></td>
                          </tr>
                          <tr valign="top">
                            <td><div align="right"> <font color="#CC0000">(*)</font> Email </div></td>
                            <td>&nbsp;</td>
                            <td><input name="email" class="box_input" size="35" value="{$email}"></td>
                          </tr>
                          <tr valign="top">
                            <td><div align="right"> <font color="#CC0000">(*)</font>{$messages.chude} </div></td>
                            <td>&nbsp;</td>
                            <td><select style="" name="tvkt1">
                                <option value="1">{$messages.kythuat}</option>
                                <option value="2">{$messages.baohanh}</option>
                                <option value="3">{$messages.suachua}</option>
                                <option value="4">{$messages.sudung}</option>
                                <option value="5">{$messages.baoquantbi}</option>
                              </select></td>
                          </tr>
                          <tr valign="top">
                            <td><div align="right"><font color="#CC0000">(*)</font> {$messages.title} </div></td>
                            <td>&nbsp;</td>
                            <td><input name="title" class="box_input" id="title" size="35" value="{$title}"></td>
                          </tr>
                          <tr valign="top">
                            <td><div align="right"><font color="#CC0000">(*)</font> {$messages.content}</div></td>
                            <td>&nbsp;</td>
                            <td><textarea name="message" cols="35" rows="6" wrap="VIRTUAL" class="box_area">{$message}</textarea></td>
                          </tr>
                          <tr valign="top">
                     <td><div align="right"><font color="#CC0000">(*)</font> {$messages.security}</div></td>
                      <td>&nbsp;</td>
                     <td style="vertical-align:middle">
                     <input type="text" value="" name="code"  size="10" class="box_input"  id="code" style="float:left; margin-right:15px"/> &nbsp;&nbsp;
                     <img src="{$ROOTPATH}/authimg.php" alt="Authenticate image" height="100%" align="left"/>
			{if $listerror[3]}
			                            <span class="msg">{$listerror[3]}</span>
                        {/if}	
				
                </td>
			</tr>
                          <tr valign="top">
                            <td height="65">&nbsp;</td>
                            <td>&nbsp;</td>
                            <td><input name="B1" class="submitbutton" value="  {$messages.send}  " type="submit">
                              <input name="op" value="faq" type="hidden">
                              <input name="lang" value="{$lang}" type="hidden">
                              <input name="slug" value="{$slug}" type="hidden">
                              &nbsp;
                              <input name="B2" class="submitbutton" value="  {$messages.reset}  " type="reset"></td>
                          </tr>
                        </tbody>
                      </table></td>
                  </tr>
                </tbody>
              </table>
            </form>
        </div>
                    </div><!--boxpro-->

                </div><!--leftCont-->
                <!--rightCont-->
             {include file="$usertemplate/right.tpl.html" title=right}  
            </div><!--content-->
{include file="$usertemplate/footer.tpl.html" title=footer} 
